<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html;charset=UTF-8"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>电影详情</title>
</head>
<body>

<h1>${user.userName}记录详情</h1>
<hr>
<table border="1px" align="center" width="50%">
<tr>
    <th>电影名称</th>
    <th>观影时长</th>
    <th>发表的评论</th>
</tr>

<c:forEach items="${userRecords}" var="record">
    <tr>
        <td>${record.filmName}</td>
        <td>${record.elapsedTime}</td>
        <td>${record.movieReviews}</td>
    </tr>
</c:forEach>
</table>
<input type="button" value="后退" onclick="window.history.back()"/>
</body>
</html>
